FIND_PATH(HELLO_INCLUDE_DIR hello.h /home/xuxiang/test/t3/include/hello)
FIND_LIBRARY(HELLO_LIBRARY libhello.so PATH /home/xuxiang/test/t3/lib)
IF (HELLO_INCLUDE_DIR)
	SET(FIND_INCLUDE_DIR TRUE)
	MESSAGE(STATUS "Found INCLUDE DIR: ${HELLO_INCLUDE_DIR}")
ENDIF (HELLO_INCLUDE_DIR)
IF (FIND_INCLUDE_DIR AND HELLO_LIBRARY)
	MESSAGE(STATUS "Found LIBRARY: ${HELLO_LIBRARY}")
	SET(HELLO_FOUND TRUE)
ENDIF (FIND_INCLUDE_DIR AND HELLO_LIBRARY)
IF (HELLO_FOUND)
	IF (NOT HELLO_FIND_QUIETLY)
		MESSAGE(STATUS "Found Hello: ${HELLO_LIBRARY}")
	ENDIF (NOT HELLO_FIND_QUIETLY)
ELSE (HELLO_FOUND)
	MESSAGE(FATAL_ERROR "Could not find hello library")
ENDIF (HELLO_FOUND)
